LearningDataModel.ActivityAttemptCount Property

Gets the number of attempts on the activity.

Parent Type: LearningDataModel

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public int ActivityAttemptCount

{ get; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to.

Remarks

Returns the number of attempts on this activity, including the currently active attempt. This number gets incremented each time a new attempt begins on an activity, before it is delivered for execution.